@import '../../../utils.less';

.ui-workspace-userinfo {
  &-page-wrap {
    display: flex;
    flex: auto;
    background: @bg-2;
  }

  &-page {
    // flex: auto;
    display: flex;
    width: 1000px;
    padding: 50px 0 0;
    margin: 0 auto;
  }

  &--logo {
    width: 160px;
  }

  &--main {
    flex: auto;
  }

  &--summary {
    padding: 15px 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid @bg-1;

    h4 {
      margin-bottom: 18px;
      font-size: 24px;
    }
  }
}

.ui-edit-user {
  .avatar-help {
    width: 210px;
    margin-bottom: 1.5em;
    line-height: 1.5;
    color: #828282;
  }

  .avatar {
    float: right;
  }

  .use-default-avatar {
    margin-left: 25px;
  }

  .mobile,
  .email {
    display: flex;
    justify-content: space-between;
  }
}

.ui-workspace-userinfo-verify-password,
.ui-workspace-userinfo-reset-mobile,
.ui-workspace-userinfo-reset-email {
  display: flex;
  flex-direction: column;
  align-items: center;

  .title {
    display: block;
    font-size: 20px;
    text-align: center;
  }

  .form {
    input {
      width: 400px;
    }
  }
}

.ui-workspace-userinfo-verify-password {
  height: 370px;

  .title {
    margin-top: 110px;
    margin-bottom: 102px;
  }
}

.ui-workspace-userinfo-reset-email {
  height: 370px;

  .title {
    margin-top: 110px;
    margin-bottom: 60px;
  }

  .send-email-btn {
    margin-left: 16px;
  }

  .alert {
    width: 400px;
  }

  .ivu-modal-wrap * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .ivu-alert-info {
    border: 1px solid #1F5072;
    background-color: rgba(44, 140, 240, 0.1);
  }

  .ivu-alert {
    color: #CDCDCD;
  }

  .ivu-alert-info .ivu-alert-icon {
    color: #2C8CF0;
  }
}

.ui-workspace-userinfo-reset-mobile {
  width: 800px;

  &-wrapper {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: @bg-2;
  }

  .title {
    margin-bottom: 100px;
    font-weight: 600;
  }

  .send-sms-btn {
    margin-left: 16px;
  }

  .submit-btn {
    width: 400px;
    margin-top: 106px;
  }

  .back-link {
    width: 400px;
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
  }
}

.ui-reset-email-callback-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;

  &-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .icon {
    margin-bottom: 64px;
  }

  .title {
    margin-bottom: 10px;
    font-size: 20px;
    color: @color-2;
  }

  .info {
    margin-bottom: 80px;
    font-size: 12px;
    color: @color-2;
  }

  .btn {
    width: 360px;
  }
}
